package com.linoer.cloud.alo.accountservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linoer.cloud.alo.accountservice.domain.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Classname AccountMapper
 * @Description TODO
 * @Date 2021/6/22 9:29 下午
 * @Created by muhenglv
 */
@Mapper
public interface AccountMapper extends BaseMapper<Account> {
    int decreaseAccount(@Param("user_id") String userId, @Param("money") int money);
}
